package com.zl.easybuy.bo;

import lombok.Data;

@Data
public abstract class BaseBo {
    private boolean isPage;//是否分页
    private int pageNo;//开始页面
    public int getStartIndex(){//分页索引
        return (pageNo-1)*pageSize;
    }
    private int pageSize;//页面容量
    private int status;//升序(1)/降序(2),
    private String statusField;//排序依据字段
}
